"""author: songzhiqiang
   data: 2021/10/28
   project: 2021-10-28-弹珠游戏
"""
import random

d = random.choices('01', k=12)
print(f"亮灯结果：{d}")
c = random.randint(0, 11)
if d[c] == 0:
    print(f"打中了第{c + 1}个灯")
    print("游戏结果：true")
if d[c] == 1:
    print("没打到")
    print("游戏结果：false")
